package com.cy.comstore.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
/** 实体类的基类 */
public class BaseEntity implements Serializable {
    //@TableField(fill = FieldFill.INSERT)
    private String createdUser;
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;
   // @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifiedUser;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
}
